package com.ruoyi.web.mapper;

import com.ruoyi.web.domain.ProcessList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProcessListMapper {
    int deleteByPrimaryKey(Long processListId);

    int insert(ProcessList record);

    int insertSelective(ProcessList record);

    ProcessList selectByPrimaryKey(Long processListId);

    int updateByPrimaryKeySelective(ProcessList record);

    int updateByPrimaryKey(ProcessList record);
    
    @Select("SELECT * FROM `process_list`")
    List<ProcessList> getAll();
}